package com.jacken.mars.commons.constant;

/**
 * 公用常量
 *
 * @author wq
 * @date 2020-06-30
 */
@SuppressWarnings("all")
public interface CommonConstants {

    /**
     * 虚拟用户登录验证码
     */
    String VIRTUAL_CODE = "1357";
    /**
     * 苹果测试账号验证码
     */
    String APPLE_CODE = "2468";
    /**
     * 空数组
     */
    String EMPTY_ARRAY = "[]";
    /**
     * :
     */
    String COLON = ":";
    /**
     * five
     */
    Integer WAITTIME = 5;
    /**
     * _
     */
    String SPLIT = "-";
    /**
     * dev
     */
    String DEV = "dev";
    /**
     * 测试环境
     */
    String TEST = "test";
    /**
     * 正式环境
     */
    String PROD = "prod";
    /**
     * active
     */
    String ACTIVE = "spring.profiles.active";
    /**
     * lock
     */
    String LOCK = "lock:";
    /**
     * platform
     */
    String PLATFORM = "platform";
    /**
     * 渠道
     */
    String CHANNEL = "channel";
    /**
     * 返回成功状态码
     */
    String OK = "200";
    /**
     * 返回失败状态码
     */
    String FAIL = "-1";
    /**
     * extension
     */
    String EXTENSION = "extension";
    /**
     * AppStore
     */
    String APP_STORE = "AppStore";
    /**
     * token:login:
     */
    String APPLOGINTOKEN = "token:login:";

    /**
     * 0
     */
    Integer ZERO = 0;
    /**
     * 100
     */
    Integer HUNDRED = 100;
    /**
     * 90
     */
    Integer NINETYFIVE = 90;
    /**
     * 1
     */
    Integer ONE = 1;
    /**
     * 50
     */
    Integer INITCOUNT = 50;
    /**
     * 2
     */
    Integer TWO = 2;
    /**
     * 3
     */
    Integer THREE = 3;
    /**
     * 4
     */
    Integer FOUR = 4;
    /**
     * 5
     */
    Integer FIVE = 5;
    /**
     * 9
     */
    Integer NINE = 9;
    /**
     * 10
     */
    Integer TEN = 10;
    /**
     * limit 10
     */
    String LASTTEN = "limit 10";

    /**
     * 默认注册头像
     */
    String DEFAULT_AVATAR = "http://testimg.imlianka.com/image/u=1194310620,178032634&fm=26&gp=0.jpg.jpg";

    /**
     * token
     */
    String TOKEN = "token";
    /**
     * 验证码key
     */
    String CAPTCHA_CODE_KEY = "captcha:code:";
    /**
     * 验证码过期时间
     */
    long CAPTCHA_EXPIRATION = 1;
}
